package com.func.domain.strategy.service.rule.chain;

/**
 * @ClassName AbstractLogicChain
 * @Description 实现了ILogicChain接口中的appendNext和next公共方法
 * @Author: func
 * @Date 2025/2/28 12:48
 * @Version 1.0
 */

public abstract class AbstractLogicChain implements ILogicChain{
    private ILogicChain next;
    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.next = next;
        return next;
    }
    @Override
    public ILogicChain next() {
        return next;
    }

    public abstract String ruleModel();
}
